package com.cskaoyan.bean.param;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author stone
 * @date 2022/06/25 11:17
 */
@Data
public class User {
    Integer id;
    String username;
    String password;
    Integer gender;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone ="GMT+8")
    Date birthday;
    Date lastLoginTime;
    String lastLoginIp;
    Integer userLevel;
    String nickname;
    String mobile;
    String avatar;
    Integer weixinOpenid;
    Integer sessionKey;
    Integer status;
    Date addTime;
    Date updateTime;
    Integer deleted;

}
